Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Dynamics NAV Web Service
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Error Message
Platform: Windows XP client
Release: 8.5
Reproducible: Always

I want to consume a web service created in Microsoft Dynamics NAV.

While trying to import the WSDL from URL (http://sqlnav:7047/DynamicsNAV/WS/Codeunit/Letters) I get the error message "Fatal Error: URI=null Line=-1: Premature end of file."

The WSDL file, copied from Internet Explorer is shown below.

What can I do to consume a web service from Microsoft Dynamics NAV?


WSDL:
- <definitions targetNamespace="urn:microsoft-dynamics-schemas/codeunit/Letters" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:microsoft-dynamics-schemas/codeunit/Letters">
- <types>
- <schema elementFormDefault="qualified" targetNamespace="urn:microsoft-dynamics-schemas/codeunit/Letters" xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="Capitalize">
- <complexType>
- <sequence>
<element minOccurs="1" maxOccurs="1" name="inputstring" type="string" />
</sequence>
</complexType>
</element>
- <element name="Capitalize_Result">
- <complexType>
- <sequence>
<element minOccurs="1" maxOccurs="1" name="return_value" type="string" />
</sequence>
</complexType>
</element>
</schema>
</types>
- <message name="Capitalize">
<part name="parameters" element="tns:Capitalize" />
</message>
- <message name="Capitalize_Result">
<part name="parameters" element="tns:Capitalize_Result" />
</message>
- <portType name="Letters_Port">
- <operation name="Capitalize">
<input name="Capitalize" message="tns:Capitalize" />
<output name="Capitalize_Result" message="tns:Capitalize_Result" />
</operation>
</portType>
- <binding name="Letters_Binding" type="tns:Letters_Port">
<binding transport="http://schemas.xmlsoap.org/soap/http" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" />
- <operation name="Capitalize">
<operation soapAction="urn:microsoft-dynamics-schemas/codeunit/Letters:Capitalize" style="document" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" />
- <input name="Capitalize">
<body use="literal" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" />
</input>
- <output name="Capitalize_Result">
<body use="literal" xmlns="http://schemas.xmlsoap.org/wsdl/soap/" />
</output>
</operation>
</binding>
- <service name="Letters">
<port name="Letters_Port" binding="tns:Letters_Binding" />
</service>
</definitions>


Feedback number WEBB7YE32N created by ~Yentl Umfreevernivu on 12/04/2009

Status: Open
Comments:

Dynamics NAV Web Service (~Yentl Umfreeve... 4.Dec.09)
. . Update 8.5.1 (~Yentl Umfreeve... 4.Dec.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS